@import "./base.css";

#root {
  width: 100%;
  height: 100%;
  background: #f7f7f7;
  overflow-y: auto;
}

.content-box {
  padding: 15px 20px;
}

.content-header {
  margin-bottom: 15px;
}

.content-header>span {
  font-size: 20px;
  font-weight: 700;
}

.flex {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.flex-center {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.flex-between {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.flex-around {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -webkit-justify-content: space-around;
  -ms-flex-pack: start;
  justify-content: space-around;
}

.align-items {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.flex-wrap {
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -o-flex-wrap: wrap;
  flex-wrap: wrap;
}

.grid {
  display: grid;
}

@media (hover: hover) {
  a:hover {
    background-color: hsla(160, 100%, 37%, 0.2);
  }
}

.ant-layout {
  height: 100%;
}

.ant-layout-header {
  background: #fff;
  border-bottom: 1px solid #efefef;
}

.ant-layout-sider {
  background: #fff;
  border-right: 1px solid #efefef;
}

.ant-radio-wrapper {
  font-size: 16px;
}

.ant-form-item-label>label {
  font-size: 16px !important;
}

.ant-table-cell {
  padding: 10px 10px !important;
}

.drop-down {
  max-width: 400px;
  width: 100%;
}

.survey-paging {
  text-align: center;
  color: #6a6a82;
  padding-top: 10px;
}

.ant-modal div[aria-hidden="true"] {
  display: none !important;
}

.slider-text {
  margin-top: 10px;
}

.copy-table .ant-table-cell {
  cursor: pointer;
}

/* 加载动画 */
.dv-loading {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99999;
  background-color: rgba(0, 0, 0, 0.4);
}

.app-loading-wrap {
  position: absolute;
  top: 43%;
  left: 50%;
  display: flex;
  transform: translate3d(-50%, -50%, 0);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.dots {
  display: flex;
  padding: 98px;
  justify-content: center;
  align-items: center;
}

.dot {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 48px;
  margin-top: 30px;
  font-size: 32px;
  transform: rotate(45deg);
  box-sizing: border-box;
  animation: antRotate 1.2s infinite linear;
}

.dot i {
  position: absolute;
  display: block;
  width: 20px;
  height: 20px;
  background-color: #1C7AFF;
  border-radius: 100%;
  opacity: 30%;
  transform: scale(0.75);
  animation: antSpinMove 1s infinite linear alternate;
  transform-origin: 50% 50%;
}

.dot i:nth-child(1) {
  top: 0;
  left: 0;
}

.dot i:nth-child(2) {
  top: 0;
  right: 0;
  animation-delay: 0.4s;
}

.dot i:nth-child(3) {
  right: 0;
  bottom: 0;
  animation-delay: 0.8s;
}

.dot i:nth-child(4) {
  bottom: 0;
  left: 0;
  animation-delay: 1.2s;
}

.loading-tip {
  padding: 15px;
  font-size: 22px;
  color: #fff;
}

@keyframes antRotate {
  to {
    transform: rotate(405deg);
  }
}

@keyframes antSpinMove {
  to {
    opacity: 100%;
  }
}